package com.kpmg.datalake.common.enums;

/**
 * 角色类型
 *
 * @author Alex.zhao [alex.zhao@kpmg.com]
 * @since Created on azhao6 on 2018-09-05 13:55:28
 */
public enum RoleTypeEnum {
  /**
   * "BA", "BA"
   */
  BA("BA", "BA"),
  /**
   * "DataManager", "数据经理"
   */
  DataManager("DataManager", "数据经理"),
  /**
   * "DataOwner", "数据拥有者"
   */
  DataOwner("DataOwner", "数据拥有者"),
  /**
   * "Delegator", "代理人"
   */
  Delegator("Delegator", "代理人"),
  /**
   * "DataUser", "数据用户"
   */
  DataUser("DataUser", "数据用户"),
  /**
   * "NewDataUser", "新数据用户"
   */
  NewDataUser("NewDataUser", "新数据用户"),
  /**
   * "SysAdmin", "系统管理员"
   */
  SysAdmin("SysAdmin", "系统管理员"),
  /**
   * "SysManage", "系统经理"
   */
  SysManage("SysManage", "系统经理");
  private String code;
  private String display;

  RoleTypeEnum(String code, String display) {
    this.code = code;
    this.display = display;
  }

  public String getCode() {
    return code;
  }

  public String getDisplay() {
    return display;
  }
}
